
    <!DOCTYPE html>
    <html lang="zh-CN">
    <head>
      <meta charset="UTF-8">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>Spring,SpringMVC,SpringBoot,SpringCloud,SpringSecurity区别 - 学习卡片</title>
      <style>
        body { font-family: sans-serif; background-color: #f0f8ff; color: #333; display: flex; flex-direction: column; align-items: center; padding: 50px 20px; }
        .header h1 { font-size: 32px; }
        .grid-container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: 100%; max-width: 1200px; }
        .card-container { perspective: 1200px; cursor: pointer; height: 250px; }
        .card { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.7s; border-radius: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
        .card-container.flipped .card { transform: rotateY(180deg); }
        .card-face { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; display: flex; flex-direction: column; box-sizing: border-box; border-radius: 16px; background-color: #fff; padding: 24px; }
        .card-back { background-color: #f0fff4; transform: rotateY(180deg); justify-content: space-between; }
        .card-category { font-size: 14px; color: #0052d9; margin-bottom: 8px; font-weight: 500; }
        .card-question { font-size: 20px; font-weight: 500; flex-grow: 1; display: flex; align-items: center; justify-content: center; text-align: center; }
        .card-answer-wrapper { flex-grow: 1; overflow-y: auto; }
        .card-answer { font-size: 15px; line-height: 1.7; }
        .card-footer { font-size: 13px; color: #8a919f; border-top: 1px solid #f0f0f0; padding-top: 16px; margin-top: 16px; }
        .card-source { font-size: 13px; color: #8a919f; border-top: 1px solid #f0f0f0; padding-top: 12px; margin-top: 12px; }
      </style>
    </head>
    <body>
      <div class="header">
        <h1>Spring,SpringMVC,SpringBoot,SpringCloud,SpringSecurity区别 - 学习卡片</h1>
      </div>
      <div class="grid-container">
        
    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">理论</div>
          <div class="card-question">Spring 框架的核心作用和目标是什么？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">理论</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">Spring是一个轻量级的Java开发框架，用于构建企业级应用程序。其目标是通过提供依赖注入、面向切面编程、事务管理等功能，来支持开发人员构建可扩展、模块化和松耦合的应用程序。</div>
          </div>
          <div class="card-source">来源: 文档中「Spring」部分</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">技术</div>
          <div class="card-question">Spring MVC 的主要用途是什么？它被描述为对什么技术的封装？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">技术</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">Spring MVC是基于Spring框架的Web开发框架，用于构建MVC模式的Web应用程序。它被描述为对Servlet的一个封装，主要针对Controller、拦截器和视图。</div>
          </div>
          <div class="card-source">来源: 文档中「Spring MVC」及「2、SpringMVC」部分</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">特性</div>
          <div class="card-question">Spring Boot 旨在解决什么问题？它遵循的核心原则是什么？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">特性</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">Spring Boot 旨在简化Spring应用程序的配置和部署，解决传统SSM框架配置文件过多的问题。它遵循“约定大于配置”的原则，通过自动装配机制来减少配置工作。</div>
          </div>
          <div class="card-source">来源: 文档中「Spring Boot」及「3、SpringBoot」部分</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">技术</div>
          <div class="card-question">Spring Cloud 是为哪种类型的系统架构设计的？它提供了哪些关键组件？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">技术</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">Spring Cloud 是为构建和管理分布式系统（微服务）而设计的框架。它提供了一系列工具和组件，例如服务发现、负载均衡、配置管理、断路器模式等。</div>
          </div>
          <div class="card-source">来源: 文档中「Spring Cloud」及「4、SpringCloud」部分</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">特性</div>
          <div class="card-question">Spring Security 在应用程序开发中扮演什么角色，并提供了哪些具体功能？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">特性</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">Spring Security 是一个用于保护应用程序安全的解决方案。它提供了身份验证、授权、密码加密、安全过滤器等一系列功能来构建安全可靠的应用程序。</div>
          </div>
          <div class="card-source">来源: 文档中「Spring Security」及「5、SpirngSecurity」部分</div>
        </div>
      </div>
    </div>

    <div class="card-container" onclick="this.classList.toggle('flipped');">
      <div class="card">
        <div class="card-face card-front">
          <div class="card-category">理论</div>
          <div class="card-question">根据文档，核心的 Spring 框架主要提供了哪四项基础服务？</div>
          <div class="card-footer">点击卡片查看答案</div>
        </div>
        <div class="card-face card-back">
          <div class="card-category">理论</div>
          <div class="card-answer-wrapper">
            <div class="card-answer">Spring 主要提供的基础服务包括：IOC (控制反转)、AOP (面向切面编程)、事务管理和代理。</div>
          </div>
          <div class="card-source">来源: 文档中「1、Spring」部分</div>
        </div>
      </div>
    </div>

      </div>
    </body>
    </html>
